<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>流动窗口 - jQuery EasyUI 演示</title>
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../demo.css">
	<script type="text/javascript" src="../../jquery.min.js"></script>
	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
	<h2 title="Fluid Window">流动窗口</h2>
	<p title="This example shows how to set the width of Window to a percentage of its parent container.">　　本例展示如何设置窗口中各列的宽度为其父容器的百分比值。</p>
	<div style="margin:20px 0;"></div>
	<div id="w" class="easyui-window" title="<h title='Fluid Window'>&nbsp;流动窗口</h>" style="width:80%;height:200px;padding:10px;" data-options="
			iconCls:'icon-save',
			onResize:function(){
				$(this).window('hcenter');
			}">
		<p>当前窗口的宽度为 80％ 哦。</p>
	</div>
</body>
</html>